package ServerThreads;

import LiftEngine.Lift;
import Server.ClientList;
import Server.ModuleList;

/**
 *
 * Class description goes here.
 *
 * @author Kamil Gajowy
 */
public class MyThreadServer extends MyThread {

    private ClientList clientReference;
    private ModuleList moduleReference;
    private Lift liftReference;

    /**
    * Default constructor.
     * @param name
     * @param cListReference
     * @param liftRef 
     */
    public MyThreadServer(String name, ClientList cListReference, Lift liftRef){
        super(name);
        this.clientReference = cListReference;
        this.liftReference = liftRef;
    }

    public MyThreadServer(String name, ModuleList mListReference, Lift liftRef){
        super(name);
        this.liftReference = liftRef;
        this.moduleReference = mListReference;
    }

    public MyThreadServer(String name,
            ClientList cListReference,
            ModuleList mListReference,
            Lift liftRef){
        super(name);
        this.liftReference = liftRef;
        this.clientReference = cListReference;
        this.moduleReference = mListReference;
    }

    public ClientList getClientList() {
        return this.clientReference;
    }

    /**
     * @return the liftReference
     */
    public Lift getLiftReference() {
        return liftReference;
    }

    /**
     * @return the moduleReference
     */
    public ModuleList getModuleReference() {
        return moduleReference;
    }


}//end class
